<template>
  <div class="form-list">
    <div class="form-list-item">
      <div class="label">工作单位</div>
      <div class="content">{{detail.company || '--'}}</div>
    </div>
    <div class="form-list-item">
      <div class="label">现有职称</div>
      <div class="content">{{detail.technicalCode || '--'}}</div>
    </div>
    <div class="form-list-item">
      <div class="label">职称取得年限</div>
      <div class="content">{{detail.technicalYear || '--'}}</div>
    </div>
    <div class="form-list-item">
      <div class="label">最高学历</div>
      <div class="content">{{detail.aac011Code || '--'}}</div>
    </div>
    <div class="form-list-item">
      <div class="label">最高学历取得年限</div>
      <div class="content">{{detail.aac011Graduated || '--'}}</div>
    </div>
    <div class="form-list-item">
      <div class="label">最高学历专业</div>
      <div class="content">{{detail.aac011Profession || '--'}}</div>
    </div>
    <div class="form-list-item">
      <div class="label">第一学历</div>
      <div class="content">{{detail.firstDegreeCode || '--'}}</div>
    </div>
    <div class="form-list-item">
      <div class="label">第一学历取得年限</div>
      <div class="content">{{detail.firstDegreeGraduated || '--'}}</div>
    </div>
    <div class="form-list-item">
      <div class="label">第一学历专业</div>
      <div class="content">{{detail.firstDegreeProfession || '--'}}</div>
    </div>
    <div class="form-list-item">
      <div class="label">联系方式</div>
      <div class="content">{{detail.aae005 || '--'}}</div>
    </div>
  </div>
</template>

<script>
  import {mapGetters} from 'vuex'
  export default {
    name: 'detail-continue-edu',
    computed: {
      ...mapGetters([
        'userInfo'
      ])
    },
    data() {
      return {
        detail: {}
      }
    },
    methods: {
      // 获取继续教育信息
      getEduInfo() {
        this.$post('/admin/person/sapi/education/continuing/get/baseInfo', {
          cardId: this.userInfo.idCard
        }).then(res => {
          this.detail = res.data
        })
      }
    },
    created() {
      this.getEduInfo()
    }
  }
</script>

<style scoped>

</style>
